package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.payconfig.EntityPackageType;
import com.ocom.common.request.callpackage.DeleteConfigRequest;
import com.ocom.common.request.callpackage.OnShowRequest;

import java.util.List;

public interface PackageTypeService extends IService<EntityPackageType> {

    List<EntityPackageType> getPackageTypeList(Long companyId, OnShowRequest request);

    boolean addCallPackageConfig(Long companyId, EntityPackageType request);

    boolean editCallPackageConfig(Long companyId, EntityPackageType request);

    boolean deleteCallPackageConfig(Long companyId, DeleteConfigRequest request);

    EntityPackageType findByPackageTypeId(Long companyId, Long packageTypeId);
}
